<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" >
<head>
  <meta charset="utf-8">
  <title>树组件</title>
    <link rel="stylesheet" href="../../lib/layui-v2.5.5/css/layui.css" media="all">
    <link rel="stylesheet" href="../../css/pms/spu.css" >
</head>
<body>
<div id="newcon" style="display: none">

<table id="newcontact" lay-filter="newcontact" class="layui-hide"></table>
<script type="text/html" id="toolbarDemo">
     参数:<div class="layui-input-inline">
        <input type="text" id="attrname" lay-verify="identity" placeholder="" autocomplete="off" class="layui-input">
      </div>
  <a class="layui-btn layui-btn-danger layui-btn-sm" lay-event="" id="attr"><i class="layui-icon layui-icon-circle"></i>查询</a>
  <a class="layui-btn layui-btn-danger layui-btn-sm" lay-event="add" >新增</a>
</script>

</div>


    <table  id="contact" lay-filter="contact" class="layui-hide"></table>

<script type="text/html" id="toolbarD">
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm layui-btn-warm"  lay-event="newcont"><i class="layui-icon layui-icon-add-1"></i>新建关联</button>
  <button type="button" class="layui-btn layui-btn-primary layui-btn-sm layui-btn-normal"  lay-event="pdelete"><i class="layui-icon layui-icon-delete"></i>批量删除</button>
</script>

<script type="text/html" id="barDemo">
  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">移除</a>
</script>



<script src="../../lib/jquery-3.4.1/jquery-3.4.1.min.js" ></script>
<script src="../../lib/layui-v2.5.5/layui.js" ></script>
<script src="../../js/pms/contact.js"></script>

</body>
</html>